<?php
/* $Id$ */
use Buan\ExtensionManager;
use Buan\UrlCommand;

$paths = ScribbleTemplateManager::getTemplatePaths();
?>

<a class="task task-create" href="<?php $this->html->eUrl(UrlCommand::createUrl('scribble', 'page', 'create')); ?>">Create A Page</a>

<?php
/* UI-INJECT: /scribble/page/select-template/secondary-workspace/links */
foreach($uiInjectionsLinks as $i) {
	echo $i->renderAfter($this->getView());
}
?>

<div class="hr"><hr /></div>
<p>
	You have registered <b><?php echo count($paths); ?></b> template path(s). <a href="<?php $this->html->eUrl(UrlCommand::createUrl('scribble', 'help')); ?>" rel="help">How do I add more?</a>
</p>

<?php
/* UI-INJECT: /scribble/page/select-template/secondary-workspace */
foreach($uiInjectionsWs as $i) {
	echo $i->renderAfter($this->getView());
}
?>